Skip to content

Conversation

@haroldrandom
Copy link
Contributor

@haroldrandom haroldrandom commented Nov 7, 2019

  • Hotfix: bug introcuded by azure-cli commit 155b6bc Rewrite az in Python
  • Update wrong sha256Digest of storage_preview
  • Disallow failures on Travis CI

WARNING: This hotfix comments out azdev verify load-all and azdev cli-linter (from azure-cli) , which opens the Pandora box that leave extension commands without some correctness verification. Will migrate those function into the public azure-cli-dev-tools ASAP.


This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

@azuresdkci
Copy link

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:

docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/haroldrandom/azure-cli-extensions.git@hotfix_az_rewrite#subdirectory=src/$EXT&egg=$EXT"

@haroldrandom haroldrandom changed the title Hotfix az rewrite Hotfix az rewrite and storage_preview Nov 7, 2019

# TODO migrate to public azdev
echo "Running linter..."
# azdev cli-lint --ci --extensions $ext
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we run the azdev linter and azdev verify load-all?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently, the public azdev doesn't have those two commands. So it's a dangerous hotfix which will open the Pandora Box that leave extension commands without some correctness verification.

@haroldrandom haroldrandom requested a review from jiasli November 7, 2019 08:18
ManuInNZ pushed a commit to ManuInNZ/azure-cli-extensions that referenced this pull request Apr 11, 2020
ManuInNZ pushed a commit to ManuInNZ/azure-cli-extensions that referenced this pull request Apr 11, 2020
…re#1075 (Azure#1082)

* [azdev] Upgrade linter to the public azdev mentioned at hotfix PR Azure#1075

* Optimize readability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants